package com.example.yt_app.Interface;

import com.example.yt_app.bean.BaseResponse;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by dell on 2021/7/12.
 */
@SuppressWarnings("ALL")
public interface YT_HttpBinService {
    @SuppressWarnings("AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc")
    @POST("user/login")
    @FormUrlEncoded
    Call<BaseResponse> login(@Field("tel") String tel, @Field("password") String pwd);
}
